package com.itheima.mybatis02.service;

import com.itheima.mybatis01.bean.Teacher;

import java.util.List;

public interface TeacherService {
    List<Teacher> selectAll();

    Teacher selectOne(Integer id);

    int insert(Teacher teacher);

    int update(Teacher teacher);

    int delete(Integer id);
}
